package com.test.mapper;

import org.apache.ibatis.annotations.Param;
import com.test.po.Permission;

import java.util.List;

/**
 * Created by Lenovo on 2019/1/9.
 */
public interface PermissionMapper extends BaseMapper<Permission>{

    public List<Permission> getPermissionByRoleId(@Param("roleId") int roleId);

    public List<Permission> getPermissionList(@Param("userId") int userId);
}
